﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Gman.WebApp.Models.MaterialModel>" %>

<table width="100%" class="GridLista">
    <tr  class="HeaderStyle">
    <th>
         Codigo
        </th>
        <th>
           Sede
        </th>
        <th>
            Descripcion
        </th>
        <th>
            Unidad
        </th>
        <th>
            Stock
        </th>
        <th>
            Stock Min.
        </th>

        <th>
            Ir
        </th>
        <th>
            Ir
        </th>   
    </tr>   
    
    <% %>
<% foreach (var item in Model.Materiales)
   { %>
     <tr class="ItemStyle">           
            <td style="width:150px"> <%= Html.Encode(item.CodMate) %></td>
            <td style="width:200px"> <%= Html.Encode(item.IDSede) %></td>
            <td style="width:550px"> <%= Html.Encode(item.DescMate) %></td>
            <td style="width:100px"> <%= Html.Encode(item.UniMedMate) %></td>
            <td style="width:100px"> <%= Html.Encode(item.SaldActMate) %></td>
            <td style="width:100px"> <%= Html.Encode(item.StckMinMate) %></td>

            <td style="width:30px"><a href="#" >Ver</a></td>            
            <td style="width:80px"><a href="#" >Proveedores</a></td>
        </tr>
<% } %>      
</table>